issue 44 solved: https://github.com/globaleaks/GLBackend/issues/44
the bug is related to time.sleep(seconds) call inside a transaction that causes long db locks in case of exceptions.