[PATCH 4/4] ConnectionHandler: add handling of select exceptions