MULE-7642: only execute close tasks on the first correct call to the clo...

...se method in ReceiverFileInputStream.