status polling changed to setTimeout to prevent piling up of requests