working timeout , needs more finesse

Signed-off-by: Simon Kirkby <tigger@interthingy.com>