Added lock-in check for server. Removed inapropriate exit from server check