PDO backend - test against "mysql has gone away" errors
PDO backend - test against "mysql has gone away" errors, also skip another query if no tasks are to be found
removed doc directory