Fix poll timeout