wrapper: use updated timeout correctly
wrapper: remove needless stderr waiting
wrapper: extract the method to read responses after executing groonga commands