Delete with custom timeout. Fixes #864