add setsockopt for deal with TIME_WAIT status