Log full thread dump in case of timeout waiting for a promise