Concurrent downloading and uploading to database
Add CLEAR_JOBs to the queue before getting push logs
Added error handling in the threads.
Used the threadsafe logging module for printing error messages and info.
Added a workaround for termination error that occurs sometimes when code does not terminate cleanly.
Merge pull request #16 from gakiwate/Parallelize

Parallelize