ignore exceptions when trying to close transport socket