Fix nereus_pause and resume