changed time to convert online to offline for 5 mins