fix shell timeout test on 1.8.7