Revert "fixed typo in sql statement in poke."

This reverts commit c3d6c4076d83f740b56d0f8bc5b7c9a2a0d3405f.
fixed a bug where the mutexfile did not get deleted after error in
sql statement