Cleanup after errant startup.