implemented pause and resuming polls
adding stop and clear poll functionalities