change to proc.communicate. Fixes #455