https://bbagwang.com/posts/game-server-development/4-deadlock/