fix #7544: closing the file descriptor also when there is an exception and re-rising the exception - this time from branch_v3_2