Revert "Adding pause and resume functions"

This reverts commit e9c0506503e27f4e56d9856a7bbbdfe8c1264478.