Configure time out for calculation disk usage of workspace

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