adding response delay according to length of reply