Fix for sync option

The open method expects a value for 'async', not 'sync'.