When calling testCMCCommandWithFailpoint function with hangShardCheckMetadataBeforeEstablishCursors failpoint, we need to guarantee that the timeout has time to fire while the CMC command is blocked on the failpoint before turning it off. Otherwise, on a fast machine, the failpoint can be triggered and cleared before the timeout deadline is reached, so the command finishes successfully instead of timing out as expected.
As part of this ticket, we have to add a sleep for the shortest active deadline before turning off the failpoint.