make sure we do block while waiting for HMP feedback

move all debug to STDERR