move listener to the rails process and don't block execution