Validate handle if nothing has been attempted

Validate handle if nothing has been attempted

Validate handle if nothing has been attempted
Merge pull request #56 from topcoderinc/tom-I-105815-github-reg

Validate handle if nothing has been attempted