Async shell calls

same as https://github.com/nyuhuhuu/wakatime-mode/pull/10  .