[ActionManager][test] Fix a problem that may check the existence of the timer event before deleteOnGLibEventLoop() is completed.