get next pass on file closing.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>