Improved workflow state check on player end/stop