quick patch for handshake and cannot reach server error handling
adding error handling for namespace handshake error