Close write did not work as expected in the Travis-CI env.