Make sure commit is issued even when no message have been found to avoid locking issues
Fix offset in DoctrineDriver peekQueue