Add Sync Mode

Add sync mode for requset, now user can using our API in their thread
instead of main thread