check pid and auto-renew in snakebite, so that it works for multiple workers