[local-sync] Ensure all imap operations are wrapped with timeout
[local-sync] Ensure all imap operations are wrapped with timeout

Summary:
Specifically, these imap connections have been known to hang when you close your laptop or go offline/online, even though we are passing a `socketTimeout` to node-imap. When they hang, everything freezes because the promise waiting for the result never resolves.

`_createConnectionPromise` wraps the operations with a timeout we implemented ourselves, and correctly rejects on timeout.

This commit wraps other imap operations that were missing. (I notices because I encountered the hanging on one of these operations)

Test Plan: manual

Reviewers: evan, mark, spang

Reviewed By: spang

Differential Revision: https://phab.nylas.com/D3720

nirmit/nylas-mail,simonft/nylas-mail,nylas-mail-lives/nylas-mail,nirmit/nylas-mail,nylas-mail-lives/nylas-mail,simonft/nylas-mail,nylas/nylas-mail,nylas/nylas-mail,nylas/nylas-mail,nirmit/nylas-mail,nirmit/nylas-mail,simonft/nylas-mail,simonft/nylas-mail,nylas/nylas-mail,nylas/nylas-mail,nirmit/nylas-mail,nylas-mail-lives/nylas-mail,nylas-mail-lives/nylas-mail,nylas-mail-lives/nylas-mail,simonft/nylas-mail