Implement a basic timeout scheduler