Prepare to move the server on threads