add elapsed-event-handler-json for easier time tracking; added Thread/sleep to get rstream output