Set TCP connection to allow reusing ports