NLog lockup fix for Mono