Fixing reload socket issue