added polling on client side
polling and stop button