Use polling instead of long ajax request to avoid 503 timeout and high CPU usage