Replaced a sleep with a call to poller.php