I can't offer a specific solution, only a general insight.
HTTP 409 errors roughly translate to
You're asking me to go barefoot with my shoes on!
The server has received a client communication requesting a change of state that isn't provided for in the server-side program logic.
Given your app-specific error message of 1 tasks in progress, I'd try to kill that task and restart the server application and try again.