connection: don't attempt to close filedesc twice

By setting the filedesc object to IGHT_SOCKET_INVALID, we
trigger a evutil_closesocket() attempt.

Therefore, it's wrong to attempt an evutil_closesocket()
before setting the object to IGHT_SOCKET_INVALID, because
it means that the code tries to close the filedesc twice.