add timeouts for registration