fixes for failing pyrecs stop (try/except)