Merge branch 'preventOutputForTasksNotAttachedtoSession' into 'master'

prevent queuing of output for tasks which are not attached to a session

See merge request !368
1 job for master in 6 minutes and 47 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #81009
test

00:06:47