Coonection is closed in output handler. AIRAVATA-1456