Fixed potential problem with closing board stream.
Fixed potential problem with closing board stream.

Findbugs spotted that resource might not be closed.
Used autoclosing instead.

Krunsh07/jpacman-framework,francois03/jpacman-framework,wouterz/SKT,SERG-Delft/jpacman-framework,RueRivoli/jpacman-framework