Channel behaviour changed. Setting earlier in session, that it can be
closed in case of exception.

Signed-off-by: unknown <pschlosser@SSC01CN051.ssc-services.de>
Changes