Run register in foreground
Merge pull request #812 from caskdata/feature/no-background-register

Run register in foreground