Configure time out for calculation disk usage of workspace

Add possibility to configure the time out for calculation disk usage of workspace (useful for huge projects on slow disks).