add socket exception in openflow client