does not emit close for readystate was not close