Handle XBOX button and catch socket exceptions