Called by pause. Returns true if successfully paused.
If false, the state is not changed.
@override Future<bool> onPause() async => true;