Prevent registering if no network