Turn all the callback to be always asynchronous
When calling the high level netmgr functions, the callback would be sometimes called synchronously if we catch the failure directly, or asynchronously if it happens later. The synchronous call to the callback could create deadlocks as the caller would not expect the failed callback to be executed directly.
Closes #2255 (closed)
Edited by Ondřej Surý