fix to reload socket binding after disconection