Adjusted plugin for handling different paused status code.