Added try-catch block for calls to praw. Allows lock file to be removed if praw throws an exception