task engine, fixed bug with new connection command containing extra whitespace, fixes #186