daemon rake task with pid file