I noticed that if I'm connected to my server with RCon and try to stop the game server it never stops and spills in the server log bunch of errors. I expected server to stop gracefully and rcon connection to be disconnected instead.
To reproduce i started server and connected to it with mcrcon. When i try to stop the server it never stops. When i exit mcrcon client server manages to stop.
Attached you can find the server log.
Thank you for your report!
We're actually already tracking this issue in MC-154617, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.