flush the session if an unlock key is set or killed