Fix Issue #6992 stop the accepter before rebind