out.close() removed