adding a small sleep at restart time of init script
fixing init script
adding a transcoder_send_alert API to send a message to the client when the metadata computing failed