Add timeout to warn about not released objects

Change-Id: I6b55b2c77d7d8ee7e8853e4529dfb87c54ddf7d6