When a test fails, it is impossible to end the selenium connection.