Fixed Rig Client not correctly shutting down because the cleanup method was not called.