Wq submit taskid foreman

Two wq fixes:

- Do not change taskid when submitting task at the foreman side.
- Use long_timeout in communications between master and foreman.