removed hardcoded delays, applied getReturnMessageTimeout