Change port to non-blocking mode.