Setting up NetClose