Changed from scheduler to timeout manager to handle polling.