[server][ActionManager] Use the GLib timer mechanism to wait for the timeout.