An API for retuning after a given period of time