Fixed vcs close not working

@williams13 @ThomasMaxwell please review this pull request. Refs #718