Fixed hanging reload when reload socket can not be