improved stack trace for blocking functions