Added error method to relay Client and added registration timeout.