test: Close build log connections

Signed-off-by: Lewis Marshall <lewis@lmars.net>