add sleep on registration