Limiting background processes using the database, not counting running processes since it doesn't seem to work, Issue #4