don't use deprecated functions
improve timeouts for domino
sometimes we return NULL