Executes a block's OnPause method.
This function is typically used within the pipe execution environment to perform block pause actions. However, this function call also be used when unit-testing blocks.