Fix leaking in process actor
Add utility function to block
Make collector a Threaded or Process actor