Fix the Shim tests timeouts.