Make sure error messages about --tasks are shown to ipc client
fix #2667