Fixed bind error issue by setting socket opt to reuse