Fixed pause and resume states

No communication while pause and disconnected when destroyed.