Bug fixes

First set active to None after being used, because it can only
be used once.

Secondly, release Time object when are no needed anymore.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>