add sleep to scripts in spring-xd-extension-process to avoid stream closed errors in tests