5G and beyond networks accommodate eMBB service for high throughput needs while URLLC service provides stringent latency and reliability requirements with relatively small packet sizes. In this paper, we study resource allocation for jointly considering the requirements of eMBB and URLLC services, where codeblock group-based transmission and preemption mechanisms in 5G NR standards are utilized. The proposed algorithm, which is called Patient and Intelligent Pre-Empter (PIPE), waits for a suitable symbol time to pre-empt an eMBB traffic for scheduling URLLC traffic. The selection of punctured eMBB packets is done intelligently to minimize the eMBB throughput degradation using puncture allowance rates from error coding schemes. Simulation results show that the eMBB throughput is maximized by sufficiently delaying the scheduling of URLLC traffic without violating its delay constraint.