Fix flaky drain script integration test

Sometimes we were super lucky and our drain scripts are called after
exactly the number of seconds we ask for.