int sm_collector_destroy(tSMCollectorId collector)
Destroys collector invalidating the tSMCollectorId.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody generic API.