Clean up tests - cope if Phantom exits unexpectedly