Implement device reopen in C alsa driver.
Set thread priority and then drop privs.