experiment with outstanding_handlers
add sync queue around outstanding_handlers