make sure synchronous code doesn't ruin the agent cooperative internals

parent bb41c71f
Pipeline #1642 passed with stages
in 4 minutes and 39 seconds