Use async request for all api calls
Release lock inside thread
Don't migrate empty library items
Merge branch 'refs/heads/develop'