clean up the mock manually so it doesn't need to be cleaned up outside the test