catch no server connection