LPS-41862 Properly shutdown integration test