Implementing searching and pulling docker images

The definition says that if you call clearTimeout with anything that's not an active time (which null clearly is not), it should do nothing.
But I can add the non-null check.