How to register your objects for Timeout callback