Fix mocha timeout issue