fix broken pausing/resuming of message processing