Closing server with clients connected works now, but it will throw
errors in console.