Fixed crash when stub with very long data and no delay for response
Remove malloc