Revert "Fix db before fork"
Revert "Fix db before fork"

This reverts commit 4f86a4d88a888c4cc8b0423b86dd67437c96c686.

# Conflicts:
#	app/controller.py

bitslabsyr/stack,bitslabsyr/stack,bitslabsyr/stack,bitslabsyr/stack