Cleanup after API tests to fix timeout issues