pause and resume
refactoring
SessionManager aka KeepAlive
import