Modified process_svr_conn so the closing of the socket to
pbs_server was contained in the only case making a connection
to the server. TRQ-2113