Trapping ServerDisconnected exception.