Closes down recording streams correctly
Adds process ref and unref to driver