Alternative with local/global wake locks. Seems to cover all issues mentioned in mailing lists.