https://github.com/rapid7/metasploit-framework/blob/master/lib/msf/core/post/windows/process.rb 
isn't modified to return the thread handle and just returns true/false so this will fail at the moment.

Will either have to submit that change.