Server closing itself after some time (1.16.5)


I decided to start a 1.16.5 paper server last week. For some reason, the server keeps closing itself after around a few minutes. The server lags a little but the crash usually happens when there’s no lag. I checked the logs but I couldn’t find anything. Here’s the log -

(Btw my startup command is java -Xmx4G -Xms4G -jar server.jar nogui)

Thanks in advance.