Added back the sleep call in the command executor.

Review: https://reviews.apache.org/r/15662