Memory and SQL socket handles may be leaked when the maximum number of users is exceeded (MUSR_ERR). Prior to this fix, no error was returned to the client before the socket was closed if this situation occurred, so the client would receive a generic network error. The logic has been updated to properly return the MUSR_ERR error.