Show time left on progressbar, send data update on server error