mlock after daemonize

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>