checked times for sleeping, added thread for getting status packet in real time.