Add uv.close calls to test-spawn.lua