Fix setting shard timeout

It was accepting the value but doing nothing.

Closes #547