Added sleep to parse-thread