implement async CanClose handling
some refactoring
some refactoring
log unhandled execeptions
only create synchronizationcontext when not set
propagate exception from async methods
Merge pull request #33 from tibel/asyncCanClose

Async can close