Try to wait as little as possible, but still enough, for tests to pass on travis