Deal errors
Rewrite async open more generic
Open and Close async
remove open completer
remove sync code