diff --git a/src/server.rs b/src/server.rs
index 45d7f19..3b39c35 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -6,6 +6,7 @@ use futures::FutureExt;
use minecraft_protocol::data::server_status::ServerStatus;
use tokio::process::Command;
use tokio::sync::watch;
+use tokio::sync::Semaphore;
use tokio::time;
use crate::config::Config;
@@ -99,6 +100,10 @@ pub struct Server {
/// Used as starting/stopping timeout.
kill_at: RwLock