Added sleep and fix wrong grep in cobbler status command