fix no insert into database
reason: pid file wasn't deleted