add driver restartrunning task and active context handler