Terminates vortex library function.
Stops all internal vortex process and all allocated resources. It also close all channels for all connection that where not closed until call this function.
This function is reentrant, allowing several threads to call vortex_exit function at the same time. Only one thread will actually release resources allocated.