timeout set to 0.1 seconds. 0.05 seems to short