Enhanced the Json posting, using Threads.