Wait 100ms before closing socket to give server time to process.