[bugfix] only detached when close the socket if socket is detached on poller