sleep in exception handle will be a problem