...G...... [ZBX-7856] using _close() instead of close() on Windows