Run check before any assert so server is stopped