set socket as reusable