Some bug with timeout