A Method to Reduce Transaction Time for Real-time IoT Applications