Oops, uncommenting socket close and consolidating exit and exit message