- replaced hardcoded delays by adding getReturnMessageTimeout
- in some places corrected timeOfEventTC to get exact timestamps