Tearing down server when tests fail