int pbs_disconnect(int connect)
The virtual stream connection specified by connect, which was established with a server by a call to pbs_connect(), is closed.
When the connection to batch server has been successfully closed, the routine will return zero. Otherwise, a non zero error is returned. The error number is also set in pbs_errno.