fixed bug with terminate called after throwing tools::error::daemon_busy