Fixed segmentation fault when closing streams using the blocking interface

It doesn't crash when I use the blocking interface. 

We call pa_CloseStream first before freeing the callbacks.
Otherwise, we may free the callbacks and PortAudio might attempt a callback and we'll crash.