NonBlocking mode for linux