Deregister socket monitor on destroy