fixed buffer issue with runtime.exec in server service