Changed dyad_close() to close socket immediately