Re-process upload queue when application comes to foreground.