these operations should probably run in a separate interactive window and be cancel-able from there.
see here for related discussion: https://nodejstools.codeplex.com/workitem/1793
see here for related discussion: https://nodejstools.codeplex.com/workitem/1793