Fixed an issue with binding new socket