BS-9890, fix timer issue on postgresql