currently reload behaves like quit, but is not handled the same, resulting in a broken pipe in thp/main.ha +127. Handle standalone -r like quit in thp, and differentiate between command r and reload control flag in thpd