cleanup

fun cleanup()

Cleans the services up.

This function should be called after each transaction.